﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Com.CMS263.BLL;
using Com.CMS263.PO;
using System.Collections.Generic;

namespace Com.CMS263.Web
{
    public partial class index : System.Web.UI.Page
    {
        public ArtBaseBLL abbll = new ArtBaseBLL();
        public IList<ArtBase> linklist = new List<ArtBase>();
        public RegionBLL rebll = new RegionBLL();
        public IList<Region> bestlist = new List<Region>();
        public IList<Region> alllist = new List<Region>();
        protected void Page_Load(object sender, EventArgs e)
        {
            linklist = abbll.GetListBySortId(2, "asc", "", 1, 50);

            bestlist = rebll.GetListPaging(-1, 1);
            alllist = rebll.GetListPaging(-1, -1);
        }
        public ExtValueBLL evbll = new ExtValueBLL();
        public string GetValue(int artid, int attrid)
        {
            return evbll.GetValueById(artid, attrid);
        }
    }
}
